import request from '@/utils/request'

/**
 * 获取人员列表
 */
export const getPeopleAPI = (params) => {
  return request.get('/user-service/user/search', { params })
}

/**
 * 获取角色列表
 */
export const getRolesAPI = () => {
  return request.get('/user-service/role')
}
